package com.xb.xbpm.mapper;

import com.xb.xbpm.bean.User;
import com.xb.xbpm.bean.UserRole;

import java.util.List;
import java.util.Map;

public interface UserMapper {
    int deleteByPrimaryKey(User key);

    int insert(User record);

    int insertSelective(User record);

    User selectByPrimaryKey(User key);

    int updateByPrimaryKeySelective(User record);

    int updateByPrimaryKey(User record);

    List<User> getUserByParam(Map<String, String> map);

    List<String> getUserRole(String id);
}